<template>
  <div>
    <el-table
        :data="tableData"
        border
        style="width: 100%">
      <el-table-column
          prop="names"
          label="岗位"
          width="180">
      </el-table-column>
      <el-table-column
          prop="salary"
          label="薪资"
          width="180">
      </el-table-column>
            <el-table-column
          prop="education"
          label="学历">
      </el-table-column>
      <el-table-column
          prop="workage"
          label="工作年限"
          width="180">
      </el-table-column>
      <el-table-column
          prop="skills"
          label="技能">
      </el-table-column>

    </el-table>

  </div>
</template>

<style>

</style>
<script>
export default {
  data() {
    return {
      tableData:
          [
          ]
    }
  },
  mounted() {
    fetch("http://127.0.0.1:5000/AIData").then((e) => {
    return e.json()
    }).then((e) => {
      this.tableData = e
    })
  }
}

</script>